﻿<UserControl x:Class="TaskbarConcepts.FlashingTaskbar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid>
    <Grid Width="300" VerticalAlignment="Top">
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="Auto" />
        <RowDefinition Height="Auto" />
        <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <Rectangle Style="{DynamicResource BorderStyle}" Grid.RowSpan="4" />
      <TextBlock Text="Flash Taskbar Button" Margin="{DynamicResource BoxedContentMargin}"
                 Style="{DynamicResource SectionTitle}" />
      <TextBlock Text="This is not a Taskbar API feature, but it is becoming common for notifications."
                 Grid.Row="1" TextWrapping="Wrap"/>
      <Button Click="OnFlashWindow" Grid.Row="2" Margin="{DynamicResource BoxedContentMargin}" Width="200">
        <TextBlock Text="Click to make the taskbar button flash" TextWrapping="Wrap"/>
      </Button>
    </Grid>
  </Grid>
</UserControl>
